image sampling and quantization in digital image processing